package com.fj.netty.chat.server.service;

import io.netty.channel.Channel;

/**
 * @author fj
 * @date 2024/1/12 09:39
 */
public interface UserService {
    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
    boolean login(String username, String password);

    boolean bind(Channel channel, String username);
}
